building a fitness tracker app using sensors